<!DOCTYPE html>  
<html lang="zh-CN">  
<head>  
    <meta charset="UTF-8">  
    <meta name="viewport" content="width=device-width, initial-scale=1.0">  
    <title>用户注册表单</title>  
</head>  
<body>  
    <h2>用户注册表单</h2>  
    <form action="/submit" method="post">  
        <!-- 1. 性别男女，单选框 -->  
        <p>性别：</p>  
        <input type="radio" id="male" name="gender" value="male">  
        <label for="male">男</label>  
        <input type="radio" id="female" name="gender" value="female">  
        <label for="female">女</label><br><br>  
  
        <!-- 2. 爱好：NBA,音乐，电影，上网，多选 -->  
        <p>爱好：</p>  
        <input type="checkbox" id="nba" name="hobbies" value="nba">  
        <label for="nba">NBA</label>  
        <input type="checkbox" id="music" name="hobbies" value="music">  
        <label for="music">音乐</label>  
        <input type="checkbox" id="movie" name="hobbies" value="movie">  
        <label for="movie">电影</label>  
        <input type="checkbox" id="internet" name="hobbies" value="internet">  
        <label for="internet">上网</label><br><br>  
  
        <!-- 3. 学历：下拉框 -->  
        <p>学历：</p>  
        <select name="education">  
            <option value="high_school">高中</option>  
            <option value="bachelor">本科</option>  
            <option value="master">硕士</option>  
            <option value="doctor">博士</option>  
            <option value="other">其他</option>  
        </select><br><br>  
  
        <!-- 4. 自我介绍：textarea文本框 -->  
        <p>自我介绍：</p>  
        <textarea name="introduction" rows="4" cols="50"></textarea><br><br>  
  
        <!-- 是否接受协议 -->  
        <p>  
            <input type="checkbox" id="accept_agreement" name="accept_agreement" required>  
            <label for="accept_agreement">我已阅读并接受协议</label>  
        </p><br>  
  
        <!-- 提交按钮 -->  
        <input type="submit" value="提交">  
    </form>  
</body>  
</html>